<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Repository\Product\GoodsRepository;
use App\Repository\UpThree\ThreeOrderRepository;
use App\Repository\UpThree\MainOrderRepostition;
use Illuminate\Support\Facades\DB;
use App\Repository\Product\SetAddressRepository;
use App\Repository\Product\ProductRepository;
use App\Repository\Api\GoodsRepository as apiGoods;

/**
 * @OA\Tag(
 *     name="后台菜单模块",
 *     description="菜单模块",
 * )
 */
class AppDouYinPayController extends BaseController
{
  public function __construct(GoodsRepository $GoodsRepository, SetAddressRepository $SetAddressRepository, apiGoods $apiGoods)
  {
    $this->model = $GoodsRepository;
    $this->addressModel = $SetAddressRepository;
    $this->productModel = new ProductRepository();
    $this->apiGoodsModel = $apiGoods;
  }
}
